package com.kaiyidiannao.model.bean;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * Created by wzg on 14-4-14.
 */
public class MessageBean implements Serializable{
    private String[] picture;
    private String catid;
    private String addtime;
    private String title;
    private String hits;
    private String telephone;
    private String truename;
    private String thumb;
    private String introduce;
    private String itemid;
    private String thumb1;
    private String thumb2;
    private String content;
    private String address;
    private Boolean is_fav = false;
    private String fid ;
    private String status;
    private String username;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public ArrayList<String> getPicture2() {
        ArrayList<String> arrayList = new ArrayList<String>();
        for (int i = 0 ; picture != null && i < picture.length; ++i) {
            arrayList.add(picture[i]);
        }
        return arrayList;
    }

    public String[] getPicture() {
        return picture;
    }

    public void setPicture(String[] picture) {
        this.picture = picture;
    }

    public String getAddtime() {
        return addtime;
    }

    public void setAddtime(String addtime) {
        this.addtime = addtime;
    }

    public String getCatid() {
        return catid;
    }

    public void setCatid(String catid) {
        this.catid = catid;
    }

    public String getFid() {
        return fid;
    }

    public void setFid(String fid) {
        this.fid = fid;
    }

    public Boolean getIs_fav() {
        return is_fav;
    }

    public void setIs_fav(Boolean is_fav) {
        this.is_fav = is_fav;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getHits() {
        return hits;
    }

    public void setHits(String hits) {
        this.hits = hits;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getTruename() {
        return truename;
    }

    public void setTruename(String truename) {
        this.truename = truename;
    }

    public String getThumb() {
        return thumb;
    }

    public void setThumb(String thumb) {
        this.thumb = thumb;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public String getItemid() {
        return itemid;
    }

    public void setItemid(String itemid) {
        this.itemid = itemid;
    }

    public String getThumb1() {
        return thumb1;
    }

    public void setThumb1(String thumb1) {
        this.thumb1 = thumb1;
    }

    public String getThumb2() {
        return thumb2;
    }

    public void setThumb2(String thumb2) {
        this.thumb2 = thumb2;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "MessageBean{" +
                "time='" + addtime + '\'' +
                ", title='" + title + '\'' +
                ", hot='" + hits + '\'' +
                ", date='" + addtime + '\'' +
                '}';
    }
}
